AssetManager

Loads assest based upon, local to program, defaults, application provided, system locatiom and user location. Supports bin2d's generated modules to load from.

Constructors

this
this(string dirIndex, string app, string company, string customSystemInstallDirectory)
Undocumented in source.

Members

Functions

opIndex
T opIndex(string mod)

Gets an assest based upon its name

registerApp
void registerApp(string mod, T value)

Registers an assest value provided by the application

registerDefault
void registerDefault(string mod, T value)

Registers a default assest value provided by the application

registerFromBin2d
void registerFromBin2d(string filterExtension, bool asDefault)

Registers application assets that was compiled in via Bin2d

update
void update()

Updates all files from the file system. Looks in local to application, user application directories and system application directories

Meta